$(function () {
    layui.use(['table'],function () {
        var table = layui.table;
        table.render({
            elem:'#LAY_table_comment',
            url:'/pages/back/comment/staffCommentList',
            page:true,
            limit:10,
            toolbar: '#toolbarDemo',//开启头部工具栏，并为其绑定左侧模板
            defaultToolbar: ['filter', 'exports', 'print'],
            cols:[[
                {field: 'cid', title: '编号',sort: true, fixed: true},
                {field: 'comment', title: '意见'},
            ]],
        });
    })
})